<%@ page language="java" contentType="text/html; charset=utf-8"	pageEncoding="utf-8"
    import="com.aolong.archives.common.resource.I18nBundleUtil" %>
<%@taglib uri="http://aolongroup.com/al-taglib" prefix="al"%> 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=uft-8">
		<%
			String path = request.getContextPath();
			String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
			String language = session.getAttribute("SYS_LANGUAGE").toString();
			System.out.println("language:"+language);
		%>
		<title><al:resource key="System - Name" /></title>
		<base href="<%= basePath %>">
		
		<link id="theme" rel="stylesheet" type="text/css"	href="extjs/resources/css/ext-all.css">
		
		<link rel="stylesheet" type="text/css"	href="extjs/resources/css/ext-patch.css">
		
		<link rel="stylesheet" type="text/css"	href="resources/css/menu.css">
		
		<link rel="stylesheet" type="text/css"	href="extjs/ux/grid/css/GridFilters.css">
		<link rel="stylesheet" type="text/css"	href="extjs/ux/grid/css/RangeMenu.css">
		
		<script type="text/javascript" src="extjs/ext-all-debug.js" charset="utf-8"></script> 
		<script type="text/javascript" src="extjs/locale/<%= language.endsWith("en_US") ? "ext-lang-en.js" : "ext-lang-zh_CN.js" %>" charset="utf-8">></script> 
		
		<script type="text/javascript" src="scripts/md5.js" charset="utf-8"></script>
		<script type="text/javascript" src="scripts/md5-legacy.js" charset="utf-8"></script>
		
		<script type="text/javascript" src="app/common/Constant.js" charset="utf-8"></script>
		<script type="text/javascript" src="app/common/GlobalUtil.js" charset="utf-8"></script>

		<script type="text/javascript" src="app.js" charset="utf-8"></script>
	</head>
	<body >
		<input type="hidden" id="basePath" value="<%= basePath %>">
	</body>
</html>